﻿using BCCommon.Enums;
using BCCommon.PaymentEnums;
using System;
using System.ComponentModel.DataAnnotations;

namespace BCDto.Common.Wallet
{
    /// <summary>
    /// 表示用户钱包的请求对象。
    /// </summary>
    public class WalletRequestDto
    {
        /// <summary>
        /// 操作类型
        /// </summary>
        [Display(Name = "操作类型")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public ResetOperatingType OperatingType { get; set; }
        /// <summary>
        /// 钱包Id。
        /// </summary>
        [Display(Name = "钱包Id")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public long WalletId { get; set; }
        /// <summary>
        /// 支付密码
        /// </summary>
        [Display(Name = "支付密码")]
        public string PayPassword { get; set; }
    }
}
